<ui:composition template="/WEB-INF/templates/test-template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ats-std="http://java.sun.com/jsf/composite/components/student">

	<ui:define name="main-content">
		<h:form>
			<p:tabView>
				<p:tab title="First Tab">
					<ats-std:singleStudent
						selectedEntity="#{tstStudentsMB.firstEntity}" />
				</p:tab>
				<p:tab title="Second Tab">
					<ats-std:singleStudent
						selectedEntity="#{tstStudentsMB.secondEntity}" />
				</p:tab>
				<p:tab title="Third Tab">
					<ats-std:singleStudent
						selectedEntity="#{tstStudentsMB.thirdEntity}" />
				</p:tab>

			</p:tabView>
		</h:form>

		<p:spacer height="100"/>

		<h:form>
			<p:tabView orientation="left">
				<p:tab title="First Tab">
					<ats-std:singleStudent
						selectedEntity="#{tstStudentsMB.firstEntity}" />
				</p:tab>
				<p:tab title="Second Tab">
					<ats-std:singleStudent
						selectedEntity="#{tstStudentsMB.secondEntity}" />
				</p:tab>
				<p:tab title="Third Tab">
					<ats-std:singleStudent
						selectedEntity="#{tstStudentsMB.thirdEntity}" />
				</p:tab>

			</p:tabView>
		</h:form>

	</ui:define>

</ui:composition>
